<?php
include _include(APP_PATH.'view/htm/header.inc.htm');

$viewsthread=thread_find(array('fid'=>$fid),array('views'=>-1),1,8);
$randthread=thread_find(array(),array('views'=>-1),1,8);

$tagid=param(3);
$color='';
$thread_num=count($threadlist);
if(!empty($tagid)){
   $color='#0cf';
   $thread_num=db_count('thread',array('fid'=>$fid,'tagids'=>$tagid));
}



$tags=tag_cate_find_by_fid($fid);
if(empty($tags[0]))  $tags=array();
else{
	$taglist=$tags[0]['taglist'];
	$tagname=$tags[0]['name'];
}
	echo '<pre>';
		//print_r($taglist);
	echo '</pre>';


include _include(APP_PATH."plugin/di_blogs/html/cate{$forum['cate']}.htm");

include _include(APP_PATH.'view/htm/footer.inc.htm');
?>
